package com.idrl.utils;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class SpringUtils 
{	
    private static ApplicationContext ac = new ClassPathXmlApplicationContext("spring/*.xml");

	public static Object getBean(String name)
	{
		return ac.getBean(name);
	}
}
